package com.xr.hr.clock;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.data.db.DBStatement;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;

/**
 * wsrEmpNullViewModel
 */
public class wsrEmpNullViewModel extends DefaultViewModel {
  protected void doUpdateData(ParameterSet parameters, ParameterSet outParameters)
      throws Exception {
    // Add your code here
    super.doUpdateData(parameters, outParameters);
  }
  public void reGetCw(ParameterSet parameters, ParameterSet outParameters)
      throws Exception {
	  Dataset ds=getDataset("datasetCdn");
	  DBStatement dbs = new DBStatement();
	  
	  dbs.setSql("begin pck_cw.wsrNullSetCw("+ds.getString("YEAR_MONTH")+"); end;");
	  dbs.execute();
	  dbs.close();
    
  }

}
